package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 车辆配送表 carpeisong
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Carpeisong extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 车辆配送ID */
	@Excel(name = "车辆配送ID")
	private Integer carpeisongId;
	/** 车辆信息ID */
	private Integer carinfoId;
	/** 司机ID */
	private Integer siJiId;
	/** 订单Id */
	private Integer dingDanId;
	/** 配送状态 */
	@Excel(name = "配送状态", readConverterExp = "0=空虚,1=配送")
	private Integer status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;

	public void setCarpeisongId(Integer carpeisongId) 
	{
		this.carpeisongId = carpeisongId;
	}

	public Integer getCarpeisongId() 
	{
		return carpeisongId;
	}
	public void setCarinfoId(Integer carinfoId) 
	{
		this.carinfoId = carinfoId;
	}

	public Integer getCarinfoId() 
	{
		return carinfoId;
	}
	public void setSiJiId(Integer siJiId) 
	{
		this.siJiId = siJiId;
	}

	public Integer getSiJiId() 
	{
		return siJiId;
	}
	public void setDingDanId(Integer dingDanId) 
	{
		this.dingDanId = dingDanId;
	}

	public Integer getDingDanId() 
	{
		return dingDanId;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carpeisongId", getCarpeisongId())
            .append("carinfoId", getCarinfoId())
            .append("siJiId", getSiJiId())
            .append("dingDanId", getDingDanId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
